<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="layui/css/layui.css">
<title>Insert title here</title>
</head>
<body class="layui-layout-body">
<div class="layui-layout  layui-layout-admin"></div>


  <div class="layui-side layui-bg-black">
    <div class="layui-side-scroll" >
      <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
      <ul class="layui-nav layui-nav-tree"  lay-filter="test">
        <li class="layui-nav-item layui-nav-itemed">
        <shiro:hasPermission name="role:admin">
          <a class="" href="javascript:;">后台管理</a>
        </shiro:hasPermission>
          <dl class="layui-nav-child">
          <shiro:hasPermission name="role:user">
            <dd><a href="m_admin/showusers.jsp" target="rightFrame">用户管理</a></dd>
          </shiro:hasPermission>
          <shiro:hasPermission name="role:role">
            <dd><a href="m_admin/roles.jsp" target="rightFrame">角色管理</a></dd>
          </shiro:hasPermission>
          <shiro:hasPermission name="role:permission">
            <dd><a href="m_admin/permission.jsp" target="rightFrame">权限管理</a></dd>
          </shiro:hasPermission>
          <shiro:hasPermission name="role:items">
            <dd><a href="m_admin/product.jsp" target="rightFrame">商品管理</a></dd>
          </shiro:hasPermission>
          <shiro:hasPermission name="role:package">
            <dd><a href="m_admin/package.jsp" target="rightFrame">商品套餐管理</a></dd>
          </shiro:hasPermission>
          </dl>
        </li>
        <li class="layui-nav-item">
        
        <shiro:hasPermission name="role:vip">
          <a href="javascript:;">会员管理</a>
        </shiro:hasPermission>
        
          <dl class="layui-nav-child">
          <shiro:hasPermission name="role:vipreg">
            <dd><a href="m_vip/regnewvip.jsp" target="rightFrame">注册新会员</a></dd>
          </shiro:hasPermission>
          
        <shiro:hasPermission name="role:viplist">
            <dd><a href="m_vip/viplist.jsp" target="rightFrame">新会员管理</a></dd>
         </shiro:hasPermission>
         
          <shiro:hasPermission name="role:vipupdate">
            <dd><a href="m_vip/update.jsp" target="rightFrame">修改本人资料</a></dd>
          </shiro:hasPermission>
            
          <shiro:hasPermission name="role:uppwd">
            <dd><a href="m_vip/vip.jsp" target="rightFrame">修改本人密码</a></dd>
          </shiro:hasPermission>
          </dl>
        </li>
        <li class="layui-nav-item">
        <shiro:hasPermission name="role:bank">
        	<a href="javascript:;">电子银行</a>
        </shiro:hasPermission>
        
          	<dl class="layui-nav-child">
        <shiro:hasPermission name="role:checkin">
            <dd><a href="m_bank/bank1_1.jsp" target="rightFrame">汇款充值</a></dd>
        </shiro:hasPermission>
        <shiro:hasPermission name="role:basic">
            <dd><a href="bank2_1.do" target="rightFrame">充值记录</a></dd>
        </shiro:hasPermission>
        <shiro:hasPermission name="role:consume">
            <dd><a href="bank3_1.do" target="rightFrame">内部转账</a></dd>
        </shiro:hasPermission>
        <shiro:hasPermission name="role:in">
           <dd><a href="bank4_1.do" target="rightFrame">转账记录</a></dd>
        </shiro:hasPermission>
       	<%-- <shiro:hasPermission name="role:cash">
            <dd><a href="m_bank/bank.jsp" target="rightFrame">申请提现</a></dd>
        </shiro:hasPermission>
        <shiro:hasPermission name="role:cashorders">
            <dd><a href="m_bank/bank.jsp" target="rightFrame">提现明细</a></dd>
        </shiro:hasPermission> --%>
        </li>
        
        <li class="layui-nav-item">
        <shiro:hasPermission name="role:shop">
        	<a href="javascript:;">购物管理</a>
       	</shiro:hasPermission>
          	<dl class="layui-nav-child">
        <shiro:hasPermission name="role:qrjh"> 
        	 <dd><a href="m_shop/inputUser.jsp" target="rightFrame">会员激活</a></dd>
        </shiro:hasPermission> 
        <shiro:hasPermission name="role:bdgh">
            <dd><a href="m_shop/comboShop.jsp" target="rightFrame">套餐购货</a></dd>
        </shiro:hasPermission>  
         <shiro:hasPermission name="role:cxgw">
             <dd><a href="m_shop/singleShop.jsp" target="rightFrame">单品购货</a></dd>
        </shiro:hasPermission>   
        <shiro:hasPermission name="role:fxgw">
           <dd><a href="m_shop/orderBuy.jsp" target="rightFrame">订单管理</a></dd>
        </shiro:hasPermission>
        <shiro:hasPermission name="role:shoplist">
            <dd><a href="m_shop/shop.jsp" target="rightFrame">购物车</a></dd>
        </shiro:hasPermission>    
        </li>
        
        <li class="layui-nav-item">
        <shiro:hasPermission name="role:information">
        	<a href="javascript:;">资讯管理</a>
       </shiro:hasPermission>
          	<dl class="layui-nav-child">
        <shiro:hasPermission name="role:gg">
            <dd><a href="m_news/showAnnouncement.jsp" target="rightFrame">公告管理</a></dd>
        </shiro:hasPermission>
        <shiro:hasPermission name="role:zxgl">
             <dd><a href="m_news/shownews.jsp" target="rightFrame">资讯管理</a></dd>
        </shiro:hasPermission>
        <%-- <shiro:hasPermission name="role:xzwj">
            <dd><a href="m_news/news.jsp" target="rightFrame">下载中心</a></dd>
        </shiro:hasPermission>
        <shiro:hasPermission name="role:lygl">
            <dd><a href="m_news/news.jsp" target="rightFrame">留言管理</a></dd>
        </shiro:hasPermission>     --%>
        </li>
        
      </ul>
    </div>
  </div>
<script src="layui/layui.js"></script>
<script>
//JavaScript代码区域
layui.use('element', function(){
  var element = layui.element;
  
});
</script>
</body>
</html>